﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyDuAn.DTO
{
    class Vacancy
    {
        public String vId;
        public String vDate;
        public String vStatus;
        public String vTitle;
        public String vDescription;
        public int vAmount;
        public String vDepartment;
        public String vDeadLine;
        public Vacancy()
        {
        }
        public Vacancy(String Id, String date, String status, String title, String description, int amount,String department, String deadline)
        {
            this.vId = Id;
            this.vDate = date;
            this.vStatus = status;
            this.vTitle = title;
            this.vDescription = description;
            this.vAmount = amount;
            this.vDepartment = department;
            this.vDeadLine = deadline;
        }
        public String GetVId()
        {
            return vId;
        }
        public String GetDate()
        {
            return vDate;
        }
        public String GetStatus()
        {
            return vStatus;
        }
        public String GetTitle()
        {
            return vTitle;
        }
        public String GetDescription()
        {
            return vDescription;
        }
        public int GetAmount() 
        {
            return vAmount;
        }
        public String GetDepartment()
        {
            return vDepartment;
        }
        public String GetDeadLine()
        {
            return vDeadLine;
        }
        public void SetID(String ID)
        {
            this.vId = ID;
        }
        public void SetDate(String date)
        {
            this.vDate = date;
        }
        public void SetStatus(String status)
        {
            this.vStatus = status;
        }
        public void SetTitle(String title)
        {
            this.vTitle = title;
        }
        public void SetDescription(String description)
        {
            this.vDescription = description;
        }
        public void SetAmount(int amount)
        {
            this.vAmount = amount;
        }
        public void SetDepartment(String department)
        {
            this.vDepartment = department;
        }
        public void SetDeadLine(String deadline)
        {
            this.vDeadLine = deadline;
        }
    }
}
